package cmd

import "github.com/spf13/cobra"

var GRPCPort string
var HTTPPort string
var SamePort string

var rootCmd = cobra.Command{}

func init() {
	rootCmd.Flags().StringVarP(&GRPCPort, "grpc_port", "g", "8001", "grpc监听端口")
	rootCmd.Flags().StringVarP(&HTTPPort, "http_port", "p", "8002", "http监听端口")
	rootCmd.Flags().StringVarP(&SamePort, "same_port", "s", "8003", "监听端口")

}
func Execute() {
	rootCmd.Execute()
}
